package main.com.hushengjin.builder;

import main.com.hushengjin.entity.burger.ChickenBurger;
import main.com.hushengjin.entity.burger.VegBurger;
import main.com.hushengjin.entity.drink.Coke;
import main.com.hushengjin.entity.drink.Pepsi;
import main.com.hushengjin.model.Meal;

public class MealBuilder {
    public Meal prepareVegMeal() {
        Meal meal = new Meal();
        meal.addItem(new VegBurger());
        meal.addItem(new Coke());
        return meal;
    }
    public Meal prepareNonVegMeal() {
        Meal meal = new Meal();
        meal.addItem(new ChickenBurger());
        meal.addItem(new Pepsi());
        return meal;
    }
}
